From 081f807e34e9e800013df9fe6143d81d128f3090 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Mon, 10 Dec 2012 20:37:36 -0600 Subject: [PATCH] * lisp/calc/calc-forms.el (calc-date-notation): Fix typo. --- lisp/calc/calc-forms.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index f72d20a57a0..7cfca261fa3 100644 --- a/lisp/calc/calc-forms.el +++ b/lisp/calc/calc-forms.el @@ -82,7 +82,7 @@ (calc-wrapper (if (string-match-p "\\`\\s-*\\'" fmt) (setq fmt "1")) - (if (string-match "\\` \\(*[0-9]\\|10\\|11\\) *\\'" fmt) + (if (string-match "\\` *\\([0-9]\\|10\\|11\\) *\\'" fmt) (setq fmt (nth (string-to-number fmt) calc-standard-date-formats))) (or (string-match "[a-zA-Z]" fmt) (error "Bad date format specifier")) -- 2.30.2